package com.ukao.cashregister.bean;

import android.support.annotation.NonNull;

/**
 * Created by ukaodev on 2017/6/5.
 */

public class ReceiveClothingBean implements Comparable<ReceiveClothingBean>{
    private String orderNo;
    private int productId;
    private int orderId;
    private String userPhone;
    private String serviceName;
    private String userName;
    private int userId;
    private String productName;
    private String scanCode;
    private long createTime;
    private int subtotal;
    private String statusText;
    private int outId;
    private int id;
    private Object proStatusText;
    private int status;
    private int storeStatus;
    private int isStoreStatus;
    private int orderProType;

    private Long statusTime;

    public Long getStatusTime() {
        return statusTime;
    }

    public void setStatusTime(Long statusTime) {
        this.statusTime = statusTime;
    }

    public int getOrderProType() {


        return orderProType;
    }

    public int getIsStoreStatus() {


        return isStoreStatus;
    }

    public int getStoreStatus() {


        return storeStatus;
    }

    public void setStoreStatus(int storeStatus) {
        this.storeStatus = storeStatus;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getScanCode() {
        return scanCode;
    }

    public void setScanCode(String scanCode) {
        this.scanCode = scanCode;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public int getSubtotal() {
        return subtotal;
    }

    public void setSubtotal(int subtotal) {
        this.subtotal = subtotal;
    }

    public String getStatusText() {
        return statusText;
    }

    public void setStatusText(String statusText) {
        this.statusText = statusText;
    }

    public int getOutId() {
        return outId;
    }

    public void setOutId(int outId) {
        this.outId = outId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Object getProStatusText() {
        return proStatusText;
    }

    public void setProStatusText(Object proStatusText) {
        this.proStatusText = proStatusText;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public int compareTo(@NonNull ReceiveClothingBean item) {
        return (this.scanCode.compareTo(item.getScanCode()));
    }

    @Override
    public boolean equals(Object obj) {
        ReceiveClothingBean item =  (ReceiveClothingBean)obj;
        return this.scanCode.equals(item.getScanCode());
    }
}
